package com.github.satant.job.entity;

import lombok.Data;

import java.io.Serializable;
import javax.persistence.*;


/**
 * 认证状态表
 *
 * @author dear_satant
 * @email 446269825@qq.com
 * @date 2018-06-26 21:34:06
 */
@Table(name = "st_authentication")
@Data
public class StAuthentication implements Serializable {

    private static final long serialVersionUID = 1L;

    //表ID
    @Id
    private Integer id;

    //留言
    @Column(name = "remark")
    private String remark;

    //认证状态。0：未认证,1：通过认证，2：认证中，3:认证未通过
    @Column(name = "status")
    private Integer status;

    //类型。1：公司，2：用户
    @Column(name = "type")
    private Integer type;

    //关联ID。可以是用户ID，也可以是公司ID
    @Column(name = "reference_id")
    private Integer referenceId;


}
